<style>
.fui-page {
   background: {{main.syscolor || '#7c1cc9'}};
   bottom:0;
}
.btn.btn-success-o {
    background: transparent;
    color: {{main.syscolor || '#7c1cc9'}};
    border: 1px solid {{main.syscolor || '#7c1cc9'}};
}
</style>
<div class="fui-page fui-page-current">
	<div class='fui-content' style="background: {{main.syscolor || '#7c1cc9'}};padding-top:1rem;">
	<div style="padding:0.5rem">
		<div class="top" style="margin-bottom:-1.3rem;z-index:108">
			<div class="c">
				<img style="width:3rem;height:3rem;border-radius:100%" src="{{tomedia(pagedata.account.logo) || '../core/resource/images/web-logo.jpg'}}"  />
			</div>
		</div>
		<div class="fui-code" style="background: linear-gradient(#fdf5d8, #fcd7f7);border-radius: 0.5rem;padding-bottom:1rem">
		<div class="fui-line-title" style="padding-top:1.3rem" ng-click="tool.clip(pagedata.member.id)">
			<div>{{pagedata.account.title}}</div>
		</div>
		<div style="padding:0 0.5rem">
		<div class='fui-cell-group' style="background:none;">
			<div class='fui-cell'>
				<div class='fui-cell-label bold'>出发地</div>
				<div class="fui-cell-info c000 bold" style="font-size:1rem">
				<input type="text" class='fui-input' placeholder="请输入出发地" ng-model="pagedata.post.start_city"/>
				</div>
			</div>
			<div class='fui-cell'>
				<div class='fui-cell-label bold'>目的地</div>
				<div class="fui-cell-info c000 bold" style="font-size:1rem">
				<input type="text" class='fui-input' placeholder="请输入目的地" ng-model="pagedata.post.end_city"/>
				</div>
			</div>
			<div class='fui-cell'>
				<div class='fui-cell-label bold'>购票姓名</div>
				<div class="fui-cell-info c000 bold" style="font-size:1rem">
				<input type="text" class='fui-input' placeholder="请输入真实姓名" ng-model="pagedata.post.name"/>
				</div>
			</div>
			<div class='fui-cell'>
				<div class='fui-cell-label bold'>出行时间</div>
				<div class="fui-cell-info c000 bold" style="font-size:1rem">
				<input type="date" class='fui-input' placeholder="请输入出行时间" ng-model="pagedata.post.day"/>
				</div>
			</div>
			<div class='fui-cell'>
				<div class='fui-cell-label bold'>联系电话</div>
				<div class="fui-cell-info c000 bold" style="font-size:1rem">
				<input type="text" class='fui-input' placeholder="请输入真实姓名" ng-model="pagedata.post.mobile"/>
				</div>
			</div>
		</div>
		</div>
		<a href="javascript:;" class='btn btn-success block' style="border-radius:1rem;line-height: 3;margin-top:1rem" ng-click="pagedata.recharge()">确认预定</a>
		<a href="javascript:;" class='btn btn-gray block' style="border-radius:1rem;line-height: 3;" ng-click="access_json('jy_feejipiao/order/')">查看订单</a>
		</div>
	</div>
</div>
<div ng-include="sys_html('common/_footer')"></div>
<script>
scope.pagedata.recharge=function(){
	scope.post_json('/index/post/',scope.pagedata.post,function(res){
		scope.message('预定成功！','','jy_feejipiao/order/');
	});
}
</script>